<?php//补充空白名字为趣友+编号include_once("../../config.php");//查看退款订单。看看有没有退款的订单，但是订单详情表里依旧是正常的。    $_orders=select_lines_all_items($table_prefix."order_info",'order_id asc',        "pay_status =1","");    foreach ($_orders as $_order)    {        $order_detail=select_lines_all_items($table_prefix."order_detail",'nid asc',            "order_nid = '".$_order['order_id'] . "' and status = '正常'","");        if(count($order_detail) < 10 )        {            echo "订单号：".$_order['order_id']." 订单详情数量：".count($order_detail)."<br>";        }//        else//        {//            echo "订单号：".$_order['order_id']." 订单详情数量：".count($order_detail)."<br>";//        }    }    //print_r2($_order_detail);?>